package com.jixiang.tracedata.model.traveller;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

import java.io.Serializable;

/**
 * @author quanbiao
 * @date 2018-08-31
 * PNR OSI信息
 */
@XStreamAlias("OtherServiceInformation")
public class OtherServiceInformation implements Serializable {

    private static final long serialVersionUID = 1805679802533035399L;

    /**
     * OSI类型，航空公司二字代码
     */
    @XStreamAsAttribute()
    private String Type;

    /**
     * 自由文本，详情请参考PNR OSI定义
     */
    @XStreamAsAttribute()
    private String Text;

    public String getType() {
        return Type;
    }

    public void setType(String type) {
        Type = type;
    }

    public String getText() {
        return Text;
    }

    public void setText(String text) {
        Text = text;
    }

    @Override
    public String toString() {
        return "{" +
                "Type:" + Type +
                ", Text:" + Text +
                '}';
    }
}
